/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package aptech.semester.code.entity;

import java.util.Vector;

/**
 *
 * @author vi
 */
public class ProvinceEntity {
    private int provinceId;
    private String provinceName;
    private String description;

    public int getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    
    public Vector toVector(){
        Vector v = new Vector();
        v.add(getProvinceId());
        v.add(getProvinceName());
        v.add(getDescription());
        return v;
    }
    
}
